package com.bp.project.domain;

import com.bp.system.domain.SysFileDomain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bp.common.annotation.Excel;
import com.bp.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 项目工程步骤内容对象 biz_stage_content
 * 
 * @author shaominjie
 * @date 2021-01-18
 */
public class BizStageContent extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 关联工程Id */
    @Excel(name = "关联工程Id")
    private Long projId;

    /** 关联阶段Id */
    @Excel(name = "关联阶段Id")
    private Long stageId;

    /** 文件内容 */
    @Excel(name = "文件内容")
    private String operateDesc;

    private String userName;


    /** 关联文件Id */
//    @Excel(name = "关联文件Id")
    private List<Long> fileIdList;
//    @Excel(name = "关联文件Id")
    private String fileIds;

    private List<SysFileDomain> fileDomains;

    public List<SysFileDomain> getFileDomains() {
        return fileDomains;
    }

    public void setFileDomains(List<SysFileDomain> fileDomains) {
        this.fileDomains = fileDomains;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setProjId(Long projId) {
        this.projId = projId;
    }

    public Long getProjId(){
        return projId;
    }
    public void setStageId(Long stageId) {
        this.stageId = stageId;
    }

    public Long getStageId(){
        return stageId;
    }
    public void setOperateDesc(String operateDesc) {
        this.operateDesc = operateDesc;
    }

    public String getOperateDesc(){
        return operateDesc;
    }

    public List<Long> getFileIdList() {
        return fileIdList;
    }

    public void setFileIdList(List<Long> fileIdList) {
        this.fileIdList = fileIdList;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projId", getProjId())
            .append("stageId", getStageId())
            .append("operateDesc", getOperateDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
